#pragma once
class Animation
{
protected:
	int m_FrameStart;
	int m_FrameEnd;
	int m_FrameCurrent;

	float m_Time;
public:
	void Next();
	void Reset();
	virtual void UpdateAnimation(int &x, int &y);
	Animation(int _FrameStart, int _FrameEnd, float _Time = 0);
	~Animation();
};

